<?php echo $javascript->link('/pir/js/jquery.pir.min'); ?>
<script type="text/javascript" class="active">
$(function() {	
	$.pir.options.php="<?php echo $this->base ?>/pir/replace";
	<?php foreach ($replace_css as $k => $v): ?>
		$("<?php echo $k ?>").pir({<?php foreach ($v as $kk => $vv) { echo $kk.":'".$vv."',"; } ?>});
	<?php endforeach; ?>
});
</script>
